package com.example.demo.handler;

import com.example.demo.AbstractPayWayHandler;
import com.example.demo.PayWayHandler;
import com.example.demo.form.PayForm;
import org.springframework.stereotype.Component;

/**
 * @author Csea
 * @title
 * @date 2020/1/17 11:19
 */
@Component
@PayWayHandler(value = "UNION")
public class UnionPayHandler extends AbstractPayWayHandler {
    @Override
    public String handler(PayForm payForm) {
        return "银联支付";
    }
}
